//
//  ProgramRoot.m
//  __PRODUCTNAME__
//
//  Created by dllo on 16/09/19
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "ProgramRoot.h"
#import "ProRecords_Info.h"
#import "ProRecord_Play_Info.h"

@implementation ProgramRoot

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"records_info"]) {
        _records_info = [ProRecords_Info modelWithDictionary:value];
    }
    if ([key isEqualToString:@"record_play_info"]) {
        _record_play_info = [ProRecord_Play_Info modelWithDictionary:value];
    }
}

@end
